function MFcropper(url) {
	$.prettyPhoto.open(url + '?iframe=true&width=550&height=450');
}

function MFLogoCropper() {
	$.prettyPhoto.open('photo_cropper,logo2.html?iframe=true&width=650&height=550');
}

function UpdatePicture(image,type) {
	$('#avatar').attr('src',image);
	$.prettyPhoto.close();
}